package com.budwk.app.sqfw.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;

/**
 * @title: Sqfw_po_user
 * @Author Tan
 * @Date: 2023/5/9 15:33
 * @Version 1.0
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Table("shequ.sqfw_po_user")
@Comment("泡泡用户映射表")
@ApiModel(description = "泡泡用户映射表")
public class Sqfw_po_user extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column
    @Name
    @Comment("编号")
    @ApiModelProperty(description = "ID")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    @PrevInsert(uu32 = true)
    private String id;

    @Column
    @Comment("系统用户id")
    @ApiModelProperty(description = "系统用户id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String sys_userid;

    @Column
    @Comment("泡泡用户id")
    @ApiModelProperty(description = "泡泡用户id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String po_userid;

    @Column
    @Comment("渠道")
    @ApiModelProperty(description = "用户渠道  sys系统后台 weixin微信")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String channel;
}
